Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution] Use Dashboard name in the page title #155381

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

semd
Copy link
Contributor

@semd semd commented Apr 20, 2023

Summary

issue: #152955
follow up of #153040

These changes make the dashboard name to be displayed in the page title, as requested by @paulewing

Screenshots

example

not_found

@semd semd added release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting Security Solution Threat Hunting Team Team:Threat Hunting:Explore 8.8 candidate v8.8.0 labels Apr 20, 2023
@semd semd requested a review from angorayc April 20, 2023 12:01
@semd semd self-assigned this Apr 20, 2023
@semd semd requested a review from a team as a code owner April 20, 2023 12:01
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

},
];
const breadcrumbName = params?.state?.dashboardName;
if (breadcrumbName) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using params.detailName was causing a change (id -> name) in the last breadcrumb when the dashboard is finally loaded.
I checked other places, the convention seems to be to show the last "name" breadcrumb only when the information is loaded.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 9.1MB 9.1MB -26.0B
Unknown metric groups

ESLint disabled line counts

id before after diff
securitySolution 394 397 +3

Total ESLint disabled count

id before after diff
securitySolution 474 477 +3

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @semd

Copy link
Contributor

@angorayc angorayc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for the update @semd LGTM!

@semd semd merged commit e9cc7a8 into elastic:main Apr 21, 2023
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.8 candidate backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Threat Hunting:Explore Team:Threat Hunting Security Solution Threat Hunting Team v8.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants